Package com.cisco.pt.ipc.sim.pdu.impl
Class RepTLV_BPAImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.RepTLVImpl
com.cisco.pt.ipc.sim.pdu.impl.RepTLV_BPAImpl
- All Implemented Interfaces:
IPCData,Pdu,RepTLV,RepTLV_BPA,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected booleanFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.RepTLVImpl
repLength, repTypeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) getKey()booleanvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetCurrentKey(String currentKey) voidvoidvoidsetPreferred(boolean preferred) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.RepTLVImpl
getRepLength, getRepType, setRepLength, setRepTypeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.RepTLV
getRepLength, getRepType, setRepLength, setRepTypeMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
portId
-
key
-
currentKey
-
preferred
protected boolean preferred
-
-
Constructor Details
-
RepTLV_BPAImpl
public RepTLV_BPAImpl()
-
-
Method Details
-
getPortId
- Specified by:
getPortIdin interfaceRepTLV_BPA- Returns:
- String Returns a String
-
setPortId
- Specified by:
setPortIdin interfaceRepTLV_BPA- Parameters:
portId- Takes in a parameter of portId
-
getKey
- Specified by:
getKeyin interfaceRepTLV_BPA- Returns:
- String Returns a String
-
setKey
- Specified by:
setKeyin interfaceRepTLV_BPA- Parameters:
key- Takes in a parameter of key
-
getCurrentKey
- Specified by:
getCurrentKeyin interfaceRepTLV_BPA- Returns:
- String Returns a String
-
setCurrentKey
- Specified by:
setCurrentKeyin interfaceRepTLV_BPA- Parameters:
currentKey- Takes in a parameter of currentKey
-
getPreferred
public boolean getPreferred()- Specified by:
getPreferredin interfaceRepTLV_BPA- Returns:
- boolean Returns a boolean
-
setPreferred
public void setPreferred(boolean preferred) - Specified by:
setPreferredin interfaceRepTLV_BPA- Parameters:
preferred- Takes in a parameter of preferred
-
getFieldType
- Overrides:
getFieldTypein classRepTLVImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classRepTLVImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classRepTLVImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classRepTLVImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classRepTLVImpl
-